﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace VNet.VisiSuite.Service.Contact.Message.Item
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/ProductionHistoryItem")]
    public class ProductionHistoryItem
    {
        [DataMember(IsRequired = true)]
        public int ProductionHistoryId { get; set; }

        [DataMember(IsRequired = true)]
        public int ClientId { get; set; }

        [DataMember(IsRequired = true)]
        public int CellShiftId { get; set; }

        [DataMember(IsRequired = true)]
        public int CellShiftClientId { get; set; }

        [DataMember(IsRequired = true)]
        public int? ReasonCodeId { get; set; }

        [DataMember(IsRequired = true)]
        public int? ProductionPlanId { get; set; }

        [DataMember(IsRequired = true)]
        public int? BraiderProductId { get; set; }

        [DataMember(IsRequired = true)]
        public bool PartialPosting { get; set; }

        [DataMember(IsRequired = true)]
        public int OperatorId { get; set; }

        [DataMember(IsRequired = true)]
        public short? Operators { get; set; }

        [DataMember(IsRequired = true)]
        public decimal? WorkContent { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime StartTime { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime? EndTime { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime? DowntimeAckTime { get; set; }

        [DataMember(IsRequired = true)]
        public int? VisiBoxKey { get; set; }

    }
}
